<?php
require_once("funcionesBase.php");
$error= $_POST['error'];
$cError= $_POST['cError'];
echo '				  		
		<div class="alert alert-danger moAlert">
		<p><h3><span class="glyphicon glyphicon-exclamation-sign"></span> Error: </h3><p>
		<p>Ha ocurrido un error: </p>'.
		'<em> <div class="well well-sm"> <strong>'.$cError.':'
		.$error.'</strong></div></em>
		</div>'
;				

echo '
					</div>
					<div class="modal-footer columnasNuevaTabla">
						<button type="button" class="btn btn-success" id="btnIndex" data-dismiss="modal">
							<span class="glyphicon glyphicon-trash"></span>
							Aceptar
						</button>
					</div>
						';

echo '
	<script>	
	$( "#btnIndex" ).mouseup(function() {
		$(location).attr("href","index.html"); 
					
	});
	
	</script>
';
die();
?>